package cn.yunyichina.provider.reservation.main;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by Lullaby on 2016/8/18.
 */
public class ReservationApp {

    private static Logger logger = LoggerFactory.getLogger(ReservationApp.class);

    public static void main(String[] args) {
//        ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
//        applicationContext.start();
        new ClassPathXmlApplicationContext("applicationContext.xml");
        logger.info("---------------start yyt-provider-reservation sucessful---------------------");
        com.alibaba.dubbo.container.Main.main(args);
    }

}
